package com.sxpi.convert;

import com.sxpi.model.entity.Banner;
import com.sxpi.model.entity.Role;
import com.sxpi.model.vo.BannerVo;
import com.sxpi.model.vo.RoleVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface BannerConvert {
    BannerConvert INSTANCE = Mappers.getMapper(BannerConvert.class);

    BannerVo convertVoToEntity(Banner banner);
    List<BannerVo> convertVoToEntity(List<Banner> banner);
}
